<script setup>
import { RouterLink } from "vue-router";
// const searchVal = ref("")
</script>

<template>
  <div class="blog-header">
    <div class="container">
      <RouterLink to="/" class="logo">
        <img src="../assets/logo.png" alt="" />
      </RouterLink>
      <div class="options">
        <!-- <el-input v-model="searchVal" placeholder="搜你想搜"></el-input> -->
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.blog-header {
  background: #fff;
  box-shadow: 0 2px 8px #f2f3f5;
  color: #909090;
  height: 60px;
  z-index: 250;
  
  position: sticky;
  top: 0;
  .container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    display: block;
    width: 160px;
    height: 40px;
  }
}
</style>
